package ru.beta2.testyard.config.defaults;

import ru.beta2.testyard.config.PlayersHandler;

/**
 * Default {@link ru.beta2.testyard.config.PlayersHandler} implementation.
 * <br/>
 * User: Inc
 * Date: 18.01.2009
 * Time: 14:37:22
 */
public class DefaultPlayersHandler implements PlayersHandler
{
    /**
     * @param player
     * @return "playerN", where N is {@code player}
     */
    public String getPlayerName(int player)
    {
        return "player" + player;
    }

    /**
     *
     * @param player
     * @return "pppN", where N is {@code player}
     */
    public String getPlayerPassword(int player)
    {
        return "ppp" + player;
    }
}
